package com.elecbook.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.elecbook.system.model.dto.PropertiesBatchDTO;
import com.elecbook.system.model.dto.PropertiesPQuery;
import com.elecbook.system.model.po.Properties;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author Z-ken
 * @since 2024/11/11 16:54:34
 */
public interface PropertiesMapper extends BaseMapper<Properties> {

    List<Properties> selectPropertiesList(@Param("propertiesBatchDTO") PropertiesBatchDTO propertiesBatchDTO);
    Page<Properties> selectPageEntity(IPage<Properties> page, @Param("query") PropertiesPQuery query);
}
